<?php
class FooterMenu extends AppModel{
	//$name = "FooterMenu";
	
	public function isOwnedBy($footermenu, $user) {
		
		return $this->field('id', array('id' => $footermenu, 'user_id' => $user)) === $footermenu;
	}
	
}

?>